package com.iweb.day12;

/**
 * @author WuYongheng
 * @date 2021/12/5
 * @description 实现Runnable接口的线程类
 */
public class RunnableTest {
    public static void main(String[] args) {
        MyRunnable1 r1 = new MyRunnable1();
        // 不能直接启动，要借助Thread的start才能启动
        Thread t = new Thread(r1);
        t.start();
    }
}
